<% use_page_title "Set New Password" %>
<% content_for :buttons, 'save_buttons' %>
<%= simple_form_for([:update_password, @user], html: {autocomplete: 'off'}) do |f| %>
    <%= render layout: 'form_with_buttons', locals: {f: f} do %>
        <%= render 'password', f: f %>
        <%= content_for :sidebar do %>
            <div class="sidebar-block">
              <h4 class="gray">For user: <span class="dark"><%= @user.login %></span></h4>
            </div>
        <% end %>
    <% end %>
<% end %>